projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94220a3
)
Omit seg fixup warning if it's just from statically linked init.
author
Steven Hand
<steven@xensource.com>
Fri, 20 Oct 2006 10:49:00 +0000
(11:49 +0100)
committer
Steven Hand
<steven@xensource.com>
Fri, 20 Oct 2006 10:49:00 +0000
(11:49 +0100)
Signed-off-by: Steven Hand <steven@xensource.com>
linux-2.6-xen-sparse/arch/i386/kernel/fixup.c
patch
|
blob
|
history
diff --git
a/linux-2.6-xen-sparse/arch/i386/kernel/fixup.c
b/linux-2.6-xen-sparse/arch/i386/kernel/fixup.c
index 20535e8fd4d1319cb105215775eddb29a542834e..2bf16fb732e7e0ada8b4415c8412a01740f42ede 100644
(file)
--- a/
linux-2.6-xen-sparse/arch/i386/kernel/fixup.c
+++ b/
linux-2.6-xen-sparse/arch/i386/kernel/fixup.c
@@
-46,6
+46,9
@@
fastcall void do_fixup_4gb_segment(struct pt_regs *regs, long error_code)
if (test_and_set_bit(0, &printed))
return;
+ if (current->tgid == 1) /* Ignore statically linked init */
+ return;
+
HYPERVISOR_vm_assist(
VMASST_CMD_disable, VMASST_TYPE_4gb_segments_notify);